package com.kaibes.platform.link;

import java.util.List;

import org.springframework.stereotype.Service;

import com.kaibes.orm.curd.OrderType;
import com.kaibes.orm.curd.SelectBuilder;
import com.kaibes.web.api.ResponseServiceImpl;

@Service
public class LinkService extends ResponseServiceImpl<Link> {
    
    @Override
    public List<Link> list() {
        return getMapper().select(SelectBuilder.newBuilder().addOrder("sort", OrderType.ASC).build());
    }
}
